import {
    legacy_createStore as createStore,
    combineReducers,
    applyMiddleware,
} from "redux"

import thunk from "redux-thunk" 

import logger from "redux-logger" 

import reduce from "./reducer/reduce" 
import todulist_reducer from "./reducer/todulist_reducer"

const All_Reducer = combineReducers({
    reduce,
    todulist_reducer
})

export default createStore(All_Reducer,applyMiddleware(thunk,logger))